package com.yaorange.exception;


import com.yaorange.response.enums.ResultCode;

/**
 *  资源不存在
 */
public class ResourceNotFoundException extends BusinessException {

    public ResourceNotFoundException() {
        super(ResultCode.NOT_FOUND);
    }

    public ResourceNotFoundException(String message) {
        super(ResultCode.NOT_FOUND.getCode(), message);
    }
}